﻿

namespace HiSportApplet.Application.Service.Auth.Dtos.EncryptKeyDtos
{
    public  class EncryptKeyResponse
    {

        /// <summary>
        /// 错误码
        /// </summary>
        public long errcode { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public string errmsg { get; set; }

        /// <summary>
        /// 用户最近三次的加密key列表
        /// </summary>
        public List<KeyInforList> key_info_list { get; set; }


    }

    public class KeyInforList {

        /// <summary>
        /// 加密key
        /// </summary>
        public string encrypt_key { get; set; }

        /// <summary>
        /// key的版本号	
        /// </summary>
        public long version { get; set; }

        /// <summary>
        /// 剩余有效时间
        /// </summary>      
        public long expire_in { get; set; }

        /// <summary>
        /// 加密	iv
        /// </summary>
        public string iv { get; set; }

        /// <summary>
        /// 创建KEY的时间戳
        /// </summary>
        public long create_time { get; set; }
    }
}
